package dao;

import javax.sql.DataSource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

public abstract class BaseDao extends JdbcDaoSupport{
	protected Log log=LogFactory.getLog(this.getClass());
	
	@Autowired
	public void setJdbcDataSource(DataSource dataSource){
		super.setDataSource(dataSource);
	}
}
